#pragma once
#ifndef __AEROBIC_DEVICE_H
#define __AEROBIC_DEVICE_H
#include "device.h"
#include <iostream>
using namespace std;

class AerobicDevice : public Device
{
private:
	int avgCalories;
public:
	AerobicDevice(const char * n,int calories);
	friend ostream & operator<<(ostream & os,const AerobicDevice & D); //#WD[3] RonnyR 12.12
	friend istream & operator>>(istream & in,AerobicDevice & D);
	
	void setAvgCalories(int avg);
	int  getAvgCalories(        ) const {return avgCalories;}

	virtual Device   * Clone() const;
	virtual void       showSafetyInstructions() const;
	virtual void       PrintDevice(ostream & os) const;

};

#endif
